package guda.stark.dal.dao;

import guda.stark.dal.dataobject.ContactDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface ContactDAO {


    Long insert(ContactDO contact);


    ContactDO getContactById(Long contactId);


    boolean delContactById(Long contactId);

    List<ContactDO> getContactByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long contactId);

    List<ContactDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(ContactDO contact);

}
